package com.woniu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Gapper
 * @since 2021-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class HouseHoldinfos implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "HouseHoldInfo_ID", type = IdType.AUTO)
    private Integer householdinfoId;

    @TableField("HouseHold_ID")
    private Integer householdId;

    @TableField("House_Type")
    private String houseType;

    @TableField("Toward")
    private String toward;

    @TableField("Renovation_Situation")
    private String renovationSituation;

    @TableField("Construction_Area")
    private String constructionArea;

    @TableField("Accurate_Area")
    private String accurateArea;

    @TableField("Price")
    private Float price;

    @TableField("Property_Costs")
    private Float propertyCosts;

    @TableField("State")
    private Integer state;

    @TableField("Remark")
    private String remark;

    @TableField("Add_Date")
    private Date addDate;

    @TableField("Versions")
    private Integer versions;

    //连接查询
    @TableField(exist = false)
    private Households households;

    //当前页
    @TableField(exist = false)
    private int current;

    //每页的条数
    @TableField(exist = false)
    private int pageSize;

    //总页数
    @TableField(exist = false)
    private int page;

    @TableField(exist = false)
    private Integer floorId;

    @TableField(exist = false)
    private String buildingName;

    @TableField(exist = false)
    private String unitName;

    @TableField(exist = false)
    private String floorName;

}
